public class Test_Employee {
    public static void main(String[] args) {
        Employee employee1=new Employee(1,"张三",24,"销售",5000,3000,"1233123123");
        employee1.print();
        employee1.work();
        employee1.calcMoney();


        Employee employees []=new Employee [3];
            employees[0]=new Employee(1,"张三",24,"销售",5000,3000,"1233123123");
            employees[1]=new Employee(2,"李四",22,"程序员",2000,5000,"4554334");
            employees[2]=new Employee(3,"李四",25,"财务",3000,87000,"234432");

        for (int i = 0; i < 3; i++) {
            employees[i].work();
            employees[i].calcMoney();
        }
    }
}
